package net.uhuijia.sys.syscode.clientservice;

import java.util.List;

import org.springframework.stereotype.Component;

import feign.hystrix.FallbackFactory;
import net.uhuijia.vo.sys.code.CodeVo;

@Component // 不要忘记添加，不要忘记添加
public class SysCodeClientServiceFallbackFactory 
implements FallbackFactory<SysCodeClientService>{

	@Override
	public SysCodeClientService create(Throwable arg0) {
		return new SysCodeClientService(){

			@Override
			public List<CodeVo> getCodesByType(String type) {
				// TODO Auto-generated method stub
				return null;
			}

			
		};
	}

}
